import request from '@/utils/request'

// 查询渠道统计uv信息列表
export function listCountUvInfo(query) {
  return request({
    url: '/channel/countUvInfo/list',
    method: 'get',
    params: query
  })
}

export function listCount(query) {
  return request({
    url: '/channel/countUvInfo/count/list',
    method: 'get',
    params: query
  })
}

// 查询渠道统计uv信息详细
export function getCountUvInfo(id) {
  return request({
    url: '/channel/countUvInfo/' + id,
    method: 'get'
  })
}

// 新增渠道统计uv信息
export function addCountUvInfo(data) {
  return request({
    url: '/channel/countUvInfo',
    method: 'post',
    data: data
  })
}

// 修改渠道统计uv信息
export function updateCountUvInfo(data) {
  return request({
    url: '/channel/countUvInfo',
    method: 'put',
    data: data
  })
}

// 删除渠道统计uv信息
export function delCountUvInfo(id) {
  return request({
    url: '/channel/countUvInfo/' + id,
    method: 'delete'
  })
}
